package cn.edu.hitwh.resume.web.controller.vo;

public class ResultVo {
	private boolean succeeded;
	private String message;
	private Object obj;
	
	public ResultVo() {
		this.succeeded = true;
	};
	
	public ResultVo(String message) {
		this.succeeded = true;
		this.message = message;
	}
	
	public ResultVo(boolean succeeded, String message) {
		this.succeeded = succeeded;
		this.message = message;
	}
	
	public ResultVo(boolean succeeded, String message, Object obj) {
		this.succeeded = succeeded;
		this.message = message;
		this.obj = obj;
	}
	
	public boolean isSucceeded() {
		return succeeded;
	}
	public void setSucceeded(boolean succeeded) {
		this.succeeded = succeeded;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
}
